package com.jrx.anytxn.reporting.mapper.base;


import com.jrx.anytxn.reporting.entity.TlFreeInterestTable;

public interface TlFreeInterestTableMapper {
    /**
     * 根据主键删除 
     * @param id Long
     * @return int
     */
    int deleteByPrimaryKey(Long id);

    /**
     * 保存
     * @param record TlFreeInterestTable
     * @return int
     */
    int insert(TlFreeInterestTable record);

    /**
     * 根据字段是否为空保存 
     * @param record TlFreeInterestTable
     * @return int
     */
    int insertSelective(TlFreeInterestTable record);

    /**
     * 根据主键查询 
     * @param id Long
     * @return TlFreeInterestTable
     */
    TlFreeInterestTable selectByPrimaryKey(Long id);

    /**
     * 根据字段是否为空更新 
     * @param record TlFreeInterestTable
     * @return int
     */
    int updateByPrimaryKeySelective(TlFreeInterestTable record);

    /**
     * 根据主键更新所有字段 
     * @param record TlFreeInterestTable
     * @return int
     */
    int updateByPrimaryKey(TlFreeInterestTable record);
}